﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Documents.web.Models.DashboardViewModel>" %>

<h1>Hello Peter, welcome to your dashboard</h1>
<div id="loginmsg">Not Peter? Click <a href="#">here</a> to login with your details.</div>
<ul class="clearfix">
<li class="box">
<div class="roundedbox nopadding clearfix">
<h2><%= Model.LocationName %></h2>
    <div class="clearfix summarylist">
    <ul>
        <li>
            <label><%= Model.InPatientCount %></label><%= Html.RouteLink("In Patients", new { controller = "Home", action = "Patients", wardCode=Model.WardID.ToString(), listType="InPatients" })%>
        </li>
        <li>
            <label><%= Model.DischargeCount %></label><%= Html.RouteLink("Discharges", new { controller = "Home", action = "Patients", wardCode = Model.WardID.ToString(), listType = "Discharges" })%>
        </li>
        <li>
            <label><%= Model.AdmissionCount %></label><a href="#" id="AdmissionList">Admissions</a>
        </li>
    </ul>
    </div>
    </div>
</li>
</ul>